package org.jeecg.modules.demo.qualityOrder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.qualityOrder.entity.PuQualityOrder;

import java.util.List;

/**
 * @Description: 质检单
 * @Author: jeecg-boot
 * @Date:   2021-11-26
 * @Version: V1.0
 */
public interface PuQualityOrderMapper extends BaseMapper<PuQualityOrder> {

	public boolean deleteByMainId(@Param("mainId") String mainId);
    
	public List<PuQualityOrder> selectByMainId(@Param("mainId") String mainId);

	public List<String> selectByPoOrder(@Param("id")String id);

	public String getMaxCode();

	public PuQualityOrder getByQoNum(@Param("str") String str);

	public List<PuQualityOrder> getZJDataList(@Param("str") String str);

}
